
============================================================
  Remote Management Setup  |  CONTROLLER PC
  This PC will be used to remotely control other machines
============================================================


============================================================
  CONTROLLER PC Setup  |  ORACLE-AE-VPS  |  trading
============================================================

[1/4] OpenSSH Client
     OK  OpenSSH Client already installed.

[2/4] SSH Keypair
     ..  Generating new ED25519 keypair: C:\Users\trading\.ssh\admin-key
     OK  Keypair generated: C:\Users\trading\.ssh\admin-key (private) + C:\Users\trading\.ssh\admin-key.pub (public)

[3/4] WinRM Client
     OK  WinRM TrustedHosts set to * (accept connections to any target IP).

[4/4] SSH Config
     OK  Created ~/.ssh/config
     OK  Template host entry added to ~/.ssh/config

============================================================
  CONTROLLER SETUP COMPLETE
============================================================

  Your SSH key:
    Private: C:\Users\trading\.ssh\admin-key
    Public : C:\Users\trading\.ssh\admin-key.pub

  *** COPY THIS PUBLIC KEY ***
  Add it to TARGET\install-target.ps1 -> $AdminPublicKeys, then run
  install-target.bat on each PC you want to control.

  ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKMNoq/dUtCCxjVI8VSRSntb/of2D4xOCEgLMZu5EnyL trading@ORACLE-AE-VPS

  To connect to a target PC after running install-target.bat on it:
    ssh -i C:\Users\trading\.ssh\admin-key <username>@<ip>
    # or add a Host block to ~/.ssh/config and just: ssh <nickname>

  WinRM (PowerShell remoting):
    $s = New-PSSession -ComputerName <ip> -Credential (Get-Credential)
    Invoke-Command -Session $s -ScriptBlock { hostname }

  Config file: C:\Users\trading\.ssh\config
============================================================


[SUCCESS] Controller setup complete.

Press any key to continue . . .




